require "luamudbot.basesystem.const"
module("sys",package.seeall)
loadmod=function(str)
	if str then
		return require(modpath..str)
	end
end
loaddll=function(str,funcname)
	local func = package.loadlib(str, funcname)
	if type(func)=="function" then
		func()
	end
end
loadmudmod=function(str)
	if str then
		return require(mudmodpath..str)
	end
end